Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ListItem Class / ListItem Constructor / ListItem Constructor(SubItem[],Int32,Object,Color,Color,Int32,Font,GradientEffect,String,Object,Boolean)
A collection of the SubItem.
An System.Int32 value that represents the indent of the ListItem.
An object value that represents the imgae of the ListItem.
A System.Drawing.Color value that represents the background color of the ListItem.
A System.Drawing.Color value that represents the foreground color of the ListItem.
An System.Int32 value that represents the height of the ListItem.
A Font value that represents the font of the ListItem.
A GradientEffect that represents the gradient effect of the ListItem.
A System.String value that represents the tool-tip text of the ListItem.
An object value that represents the tag of the ListItem.
A bool value that represents whether the ListItem is visible or not.


In This Topic
    ListItem Constructor(SubItem[],Int32,Object,Color,Color,Int32,Font,GradientEffect,String,Object,Boolean)
    In This Topic
    Initializes a new instance of the ListItem class with settings.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal subItems() As SubItem, _
       ByVal indent As Integer, _
       ByVal image As Object, _
       ByVal backColor As Color, _
       ByVal foreColor As Color, _
       ByVal height As Integer, _
       ByVal font As Font, _
       ByVal gradientEffect As GradientEffect, _
       ByVal toolTipText As String, _
       ByVal tag As Object, _
       ByVal visible As Boolean _
    )
    'Usage
     
    
    Dim subItems() As SubItem
    Dim indent As Integer
    Dim image As Object
    Dim backColor As Color
    Dim foreColor As Color
    Dim height As Integer
    Dim font As Font
    Dim gradientEffect As GradientEffect
    Dim toolTipText As String
    Dim tag As Object
    Dim visible As Boolean
     
    Dim instance As New ListItem(subItems, indent, image, backColor, foreColor, height, font, gradientEffect, toolTipText, tag, visible)

    Parameters

    subItems
    A collection of the SubItem.
    indent
    An System.Int32 value that represents the indent of the ListItem.
    image
    An object value that represents the imgae of the ListItem.
    backColor
    A System.Drawing.Color value that represents the background color of the ListItem.
    foreColor
    A System.Drawing.Color value that represents the foreground color of the ListItem.
    height
    An System.Int32 value that represents the height of the ListItem.
    font
    A Font value that represents the font of the ListItem.
    gradientEffect
    A GradientEffect that represents the gradient effect of the ListItem.
    toolTipText
    A System.String value that represents the tool-tip text of the ListItem.
    tag
    An object value that represents the tag of the ListItem.
    visible
    A bool value that represents whether the ListItem is visible or not.
    See Also